class RechargeRecordModel {
  final String id;
  final String orderNo;
  final String amount;
  final String time;
  final String status;

  RechargeRecordModel({
    required this.id,
    required this.orderNo,
    required this.amount,
    required this.time,
    required this.status,
  });

  factory RechargeRecordModel.fromJson(Map<String, dynamic> json) {
    return RechargeRecordModel(
      id: json['id'] ?? '',
      orderNo: json['orderNo'] ?? '',
      amount: json['amount'] ?? '',
      time: json['time'] ?? '',
      status: json['status'] ?? '',
    );
  }

  Map<String, dynamic> toJson() {
    return {
      'id': id,
      'orderNo': orderNo,
      'amount': amount,
      'time': time,
      'status': status,
    };
  }
} 